echo off

start /min "timer server"  ..\bin\NetSet.exe timer 8078 8090

ping 1 -n 1 -w 300 2>nul 1>nul
start /min "netset server 8000 8081"  ..\bin\Netset.exe netset 8000 0 172.16.133.32 8090 
ping 1 -n 1 -w 300 2>nul 1>nul
start /min "netset server 8001 8082"  ..\bin\Netset.exe netset 8001 0 172.16.133.32 8090 
ping 1 -n 1 -w 300 2>nul 1>nul
start /min "netset server 8002 8083"  ..\bin\Netset.exe netset 8002 0 172.16.133.32 8090 
ping 1 -n 1 -w 300 2>nul 1>nul
start /min "netset server 8003 8084"  ..\bin\Netset.exe netset 8003 0 172.16.133.32 8090 
ping 1 -n 1 -w 300 2>nul 1>nul
start /min "netset server 8004 8085"  ..\bin\Netset.exe netset 8004 0 172.16.133.32 8090 
ping 1 -n 1 -w 300 2>nul 1>nul
start /min "netset server 8005 8086"  ..\bin\Netset.exe netset 8005 0 172.16.133.32 8090 

ping 1 -n 1 -w 300 2>nul 1>nul
start /min "manage"  ..\bin\netset.exe manage 8080

ping 1 -n 1 -w 200 2>nul 1>nul
start /min "ui.exe"  ..\bin\ui.exe set 1 172.16.133.32 8000 172.16.133.32 8082 1 1000000 200 200 
ping 1 -n 1 -w 200 2>nul 1>nul
start /min "ui.exe"  ..\bin\ui.exe set 2 172.16.133.32 8001 172.16.133.32 8083 1 1000000 200 200 
ping 1 -n 1 -w 200 2>nul 1>nul
start /min "ui.exe"  ..\bin\ui.exe set 3 172.16.133.32 8003 172.16.133.32 8084 1 1000000 200 200 
ping 1 -n 1 -w 200 2>nul 1>nul
start /min "ui.exe"  ..\bin\ui.exe set 4 172.16.133.32 8004 172.16.133.32 8085 1 1000000 200 200 
ping 1 -n 1 -w 200 2>nul 1>nul
start /min "ui.exe"  ..\bin\ui.exe set 5 172.16.133.32 8005 172.16.133.32 8086 1 1000000 200 200 
ping 1 -n 1 -w 200 2>nul 1>nul
start /min "ui.exe"  ..\bin\ui.exe set 6 172.16.133.32 8006 172.16.133.32 8081 1 1000000 200 200 


exit